﻿<BaseControl:DialogControl x:Class="jSLApp.Client.Forms.NewComment"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:BaseControl="clr-namespace:jSLCore.Client.Presentation.BaseControl;assembly=jSLCore.Client.Presentation" xmlns:tk="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Toolkit" xmlns:j="clr-namespace:jSLCore.Client.Presentation.Controls;assembly=jSLCore.Client.Presentation" xmlns:Controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Input.Toolkit" xmlns:Converters="clr-namespace:jSLApp.Client.Converters" xmlns:jBinding="clr-namespace:jSLCore.Client.Presentation.jBinding;assembly=jSLCore.Client.Presentation" xmlns:RichNotepad="clr-namespace:RichNotepad;assembly=RichNotepad" mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400" Width="500" Height="500">
    <j:ImageGroupBox Header="Новый комментарий">
        <tk:DockPanel LastChildFill="True">
            <StackPanel Orientation="Horizontal" Name="ratePanel" tk:DockPanel.Dock="Top" Visibility="Collapsed">
               <j:HelpBox Text="Вы еще не оценивали этот трек. Пользователю прийдет просьба оценить одну из ваших работ в благодарность" Width="150"/>
                <j:ImageGroupBox Header="Оценить">
                    <StackPanel Orientation="Vertical">                                                                        
                                <j:LeftHeaderContainer Header="Музыкальность:">
                                    <j:jNullableBox Nullale="nullable_Clicked" Tag="music">
                                    <Controls:Rating  ItemCount="5" x:Name="musicRate">
                                        <BaseControl:BaseControl.jBinding>
                                                <Converters:RatingBinding Path="RateMusic"/>
                                        </BaseControl:BaseControl.jBinding>
                                    </Controls:Rating>
                                    </j:jNullableBox>
                                </j:LeftHeaderContainer>
                                <j:LeftHeaderContainer Header="Танцевальность:"  >
                                    <j:jNullableBox Nullale="nullable_Clicked" Tag="dance">
                                        <Controls:Rating  ItemCount="5" x:Name="danceRate">
                                            <BaseControl:BaseControl.jBinding>
                                        <Converters:RatingBinding Path="RateDance"/>
                                            </BaseControl:BaseControl.jBinding>
                                        </Controls:Rating>
                                    </j:jNullableBox>
                                </j:LeftHeaderContainer>
                                <j:LeftHeaderContainer Header="Качество:">
                                    <j:jNullableBox Nullale="nullable_Clicked" Tag="quality">
                                        <Controls:Rating  ItemCount="5" x:Name="qualityRate">
                                            <BaseControl:BaseControl.jBinding>
                                        <Converters:RatingBinding Path="RateQuality"/>
                                            </BaseControl:BaseControl.jBinding>
                                        </Controls:Rating>
                                    </j:jNullableBox>
                                </j:LeftHeaderContainer>                           
                    </StackPanel>
                </j:ImageGroupBox>
            </StackPanel>
            <RichNotepad:CodeProjectRichTextBox x:Name="txt" />
        </tk:DockPanel>
    </j:ImageGroupBox>
</BaseControl:DialogControl>
